﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.List<ManagedServices.UI.Web.Models.UploadedFileModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	UploadSubService
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Upload SubService</h2>
    <h4><%= Html.Encode(ViewData["Message"]) %></h4>

    <% using (Html.BeginForm()) { %>
        <table>
            <thead>
            <tr>
                <td>
                    <div class="editor-label">File Name</div>
                </td>
                
                <td>
                    <div class="editor-label">File Type</div>
                </td>
            </tr>
            </thead>
            <tbody>
            <% foreach (var item in this.Model) {%>
            <tr>
                <td>
                    <div class="editor-label"><%=item.FileName %> </div>
                </td>
                
                <td>
                    <div class="editor-label"><%=item.FileType %> </div>
                </td>          
            </tr>
            </tbody>
            <% }%> 
              <tfoot>
            <tr>
                <td>
                    <div class="editor-label">File Name</div>
                </td>
                
                <td>
                    <div class="editor-label">File Type</div>
                </td>
            </tr>
            </tfoot>
        </table>
        <p>
            Kindly review your files for the Sub Service. 
            If everything seems to be correct kindly go ahead and confirm the upload
        </p>
        <%= Html.ActionLink("Cancel", "../Home/AddSubService")%> <%= Html.ActionLink("Continue", "ReviewUpload") %>
    <% }%>


</asp:Content>
